//
// Created by ashCheng on 2022/9/2.
//

#include <iostream>

int main()
{
  unsigned u = 10;
  int i = -42;
  std::cout << i + i << std::endl; //输出-48
  std::cout << i + u << std::endl; //如果int占32位，返回 4294967264

  unsigned u1 = 42, u2 = 10;
  std::cout << u1 - u2 << std::endl; //32
  std::cout << u2 - u1 << std::endl; //4294967264

  return 0;
}